﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ACC.Data.Entities.Mes
{
    /// <summary>
    /// MES-SCADA-02 工艺标准
    /// </summary>
    public class MESProcessHeader
    {
        public string material_code;
        public string material_name;
        public string factory;
        public string route_code;
        public string route_name;
        public string route_ver;
        public string center_code;
        public string center_name;

        public List<MESProcess> detail;
    }

    /// <summary>
    /// 工序工艺标准
    /// </summary>
    public class MESProcess
    {
        public string op_code;
        public string op_name;
        public string op_seq;

        public string fixture_code;
        public uint rework_limit;
        public List<MESProcessParameter> Parameter;

    }

    /// <summary>
    /// 工序工艺配方参数
    /// </summary>
    public class MESProcessParameter
    {
        public string para_code;
        public string para_name;
        public string para_type;  // 1-定量检测，２－定性检测
        public double para_std;
        public double para_high;
        public double para_low;
    }
}
